<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<html>
<title>수신 페이지</title>
<%
	request.setCharacterEncoding("utf-8");
/* 
	String cb1 = request.getParameter("ch1");
	String cb2 = request.getParameter("ch2");
	String cb3 = request.getParameter("ch3");
	String cb4 = request.getParameter("ch4");

	out.println("ch1 : " + cb1 + "<br>");
	out.println("ch2 : " + cb2 + "<br>");
	out.println("ch3 : " + cb3 + "<br>");
	out.println("ch4 : " + cb4 + "<br>"); */
	
	//체크박스를 그룹화 시켜서 출력한다.
	String [] cb = request.getParameterValues("cb");
	out.println("데이터 갯수 : " + cb.length + "<br>");
	for(int i=0; i<cb.length; i++){
		if(cb[i]!=null){
			out.print("선택 : "+cb[i]+"<br>");
		}
	}
	//라디오버튼 출력하기
	
	String r = request.getParameter("r");
	out.println("r : " + r);
	
	String sel = request.getParameter("s");
	out.println("s : " + sel);
%>
</html>